@import url('./button.css');
@import url('./dialogConfirm.css');

main {
    /* --max: v-bind(max);
    --value: v-bind(value);
    background-image: url("../public/assets/beijing.png"); */
    background-size: 100% 100%;
    height: 100%;
    width: 100%;
    /* box-sizing: border-box; */
    position: relative;
    display: flex;
    flex-direction: column;


    /* height: calc(100% - constant(safe-area-inset-bottom));
	height: calc(100% - env(safe-area-inset-bottom));
	padding-top: constant(safe-area-inset-top);
	padding-top: env(safe-area-inset-top);
	padding-bottom: constant(safe-area-inset-bottom);
	padding-bottom: env(safe-area-inset-bottom);
	padding-left: constant(safe-area-inset-left);
	padding-left: env(safe-area-inset-left);
	padding-right: constant(safe-area-inset-right);
	padding-right: env(safe-area-inset-right); */
}

.header {
    /* align-items: center;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    height: 12%;
    justify-items: center;
    padding-top: 1%;
    margin: 0 4vw;
    position: relative; */

    width: 100%;
    height: 4rem;
    position: relative;
    /* overflow: hidden; */
}

.header .back {
    cursor: pointer;
	width: 2.5rem;
}

.header .left {
    display: flex;
    align-items: center;
    position: absolute;
	top: 1.5rem;
	left: 2%;
}

.header .left span {
    font-size: 1.4rem;
    font-weight: bold;
    color: #222;
    padding-left: 2rem;
    font-family: 'text-en';
}

.header .middle {
    position: absolute;
    /* top: 50%; */
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
}

.header .middle span {
    color: #854B22;
    font-size: 1.4rem;
}

.header .right {
    position: absolute;
	top: 2.25rem;
	right: 2%;
    text-align: right;
}

.progress {
    background-color: transparent;
    vertical-align: middle;
    width: 14rem;
    height: 1rem;
    overflow: hidden;
}
 
/* .header .progress-wrap {
    position: relative;
}

.header .progress-wrap span {
    position: absolute;
    right: 5%;
    bottom: 0%;
    line-height: 1rem;
    font-size: 0.8rem;
    color: #666666;
}

.header progress {
    background-color: transparent;
    vertical-align: middle;
    width: 14rem;
    height: 1rem;
    overflow: hidden;
} */

/* .header progress::-webkit-progress-bar {
    background-color: white;
    border-radius: 1rem;
    overflow: hidden;
}

.header progress::-webkit-progress-value {
    background-color: #FFB530;
    border-radius: 1rem;
}

.header .progress-primary::-webkit-progress-value {
    background-color: #FFB530;
    border-radius: 1rem;
}

.header .progress-middle::-webkit-progress-value {
    background-color: #1E4BA6;
    border-radius: 1rem;
}  */


.article {
    /* height: 75%; */
    flex: 1;
    margin: 1% 17%;
    /* width: 100%; */
    display: flex;
    justify-content: center;
    align-items: center;
}

.article {
    overflow: hidden;
}

/* ul {
    height: 100%;
    overflow-y: scroll;
    padding-left: 1rem;
    width: 100%;
    margin: 0;
} */


/* ul::-webkit-scrollbar {
    display: none;
}

ul::-webkit-scrollbar {
    width: 0px;
}

li {
    background-color: white;
    border: transparent solid 0.15rem;
    border-radius: 1rem;
    font-size: xx-large;
    list-style: none;
    margin: 1rem;
    position: relative;
    overflow: hidden;
} */

/* li:focus {
    border-color: #61bd66;
} */

/* .li-focus {
    border-color: #0A91F1;
} */

/* li:focus::before {
    background-image: url("../public/assets/diandu_an_18_pt.svg");
    background-size: cover;
    content: "";
    cursor: pointer;
    display: block;
    height: 3rem;
    left: 0.5rem;
    position: absolute;
    top: 0.5rem;
    width: 3rem;
} */

/* li .header {
    padding: 2% 0;
}

li footer {
    background-color: #fff4df;
    border-radius: 0 0 0.7rem 0.7rem;
    column-gap: 2rem;
    display: flex;
    font-size: x-large;
    justify-content: center;
    padding: 1% 0;
} */

/* .cell-score-wrap {
    background-color: #FFF4DF;
    color: #D28700;
    text-align: center;
    font-size: 1.2rem;
    position: relative;
    margin-top: 2rem;
}

.cell-score-wrap .scores {
    position: absolute;
    bottom: 0;
    left: 5%;
    width: 3rem;
    height: 3rem;
    background-image: url('../public/assets/diandu_tb_8_pt.svg');
    background-size: cover;
    line-height: 3rem;
} */

/* .cell-score-wrap  .scores span {
    color: #d28700;
    height: 3rem;
    left: 50%;
    position: absolute;
    top: 45%;
    transform: translate(-50%, -50%);
}

.cell-group {
    display: flex;
    padding: 0.4rem;
}

.cell-icon {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
} */

/* .cell-icon img {
    width: 2rem;
}

.cell-text {
    margin-left: 1rem;
    flex: 1;
}

.en {
    font-size: 1.4rem;
    color: #222;
}

.cn {
    margin-top: 0.5rem;
    font-size: 1.2rem;
    color: #222;
} */

.footer {
    align-items: baseline;
    background-color: transparent;
    box-sizing: border-box;
    /* column-gap: 10%; */
    /* display: flex; */
    /* height: 15%; */
    height: 6rem;
    /* justify-content: center;
    align-items: center; */
    /* padding-top: 1%; */
}

.footer-wrap {
    /* width: 40%; */
    margin: 0 auto;
    display: flex;
    /* justify-content: space-between; */
    align-items: center;
    position: relative;
}

/* footer div {
}

footer div * {
    cursor: pointer;
    margin: 0;
} */

/* main>footer :nth-child(odd) {
    height: 70%;
} */

/* main>footer :nth-child(even) {
    height: 80%;
} */

.footer-btn-wrap {
    text-align: center;
    cursor: pointer;
    margin: 0;
}

.footer-btn-left-wrap {
    position: absolute;
    left: 35%;
    top: 0;
    transform: translateX(-50%);
}

.footer-btn-middle-wrap {
    /* position: relative;
    top: -0.2rem; */
    position: absolute;
    left: 50%;
    top: -0.2rem;
    transform: translateX(-50%);
}

.footer-btn-record-middle-wrap {
    position: absolute;
    left: 50%;
    bottom: 1.4rem;
    transform: translateX(-50%);
}

.footer-btn-right-wrap {
    position: absolute;
    left: 65%;
    top: 0;
    transform: translateX(-50%);
}

.footer-btn {
    /* display: flex;
    flex-direction: column;
    align-items: center; */
    width: 2.5rem;
    height: 2.5rem;
    /* display: flex;
    flex-direction: column;
    align-items: center; */
    /* margin: 0.4rem auto; */
    margin: 0.4rem auto;
}

.footer-btn-middle {
    width: 3rem;
    height: 3rem;
    margin: 0.25rem auto;
}

.footer-btn-title {
    /* margin-top: 0.8rem; */
    font-size: 1.2rem;
}

/* .footer-btn span {
    margin-top: 0.8rem;
    font-size: 1.2rem;
} */

.recording {
    bottom: 2.75rem;
    left: 51%;
    position: absolute;
    transform: translateX(-50%);
    /* transform: translate(-44%,-56%); */
    width: 28rem;
}

.reading {
    position: relative;
}

.animation .reading::after {
    animation: recording-after 20s linear;
    
    -webkit-animation: recording-after 20s linear;

    background-color: transparent;
    border: 0.15rem solid white;
    border-bottom: 0.15rem solid transparent;
    border-radius: 50%;
    border-right: 0.15rem solid transparent;
    bottom: 0;
    left: 0;
    content: "";
    display: block;
    box-sizing: border-box;

    position: absolute;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);

    width: 100%;
    height: 100%;
}

.animation .reading::before {
    animation: recording-before 20s linear;
    -webkit-animation: recording-before 20s linear;

    background-color: transparent;
    border: 0.15rem solid white;
    border-left: 0.15rem solid #FFB530;
    border-radius: 50%;
    border-top: 0.15rem solid #FFB530;
    bottom: 0;
    left: 0;
    content: "";
    display: block;
    box-sizing: border-box;

    position: absolute;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);

    width: 100%;
    height: 100%;
}

@keyframes recording-after {
    0% {
        border: 0.15rem solid white;
        border-bottom: 0.15rem solid transparent;
        border-right: 0.15rem solid transparent;
    }

    49% {
        border: 0.15rem solid white;
        border-bottom: 0.15rem solid transparent;
        border-right: 0.15rem solid transparent;
    }

    51% {
        border: 0.15rem solid transparent;
        border-bottom: 0.15rem solid #FFB530;
        border-right: 0.15rem solid #FFB530;
    }

    100% {
        border: 0.15rem solid transparent;
        border-bottom: 0.15rem solid #FFB530;
        border-right: 0.15rem solid #FFB530;
    }
}

@-webkit-keyframes recording-after {
    0% {
        border: 0.15rem solid white;
        border-bottom: 0.15rem solid transparent;
        border-right: 0.15rem solid transparent;
    }

    49% {
        border: 0.15rem solid white;
        border-bottom: 0.15rem solid transparent;
        border-right: 0.15rem solid transparent;
    }

    51% {
        border: 0.15rem solid transparent;
        border-bottom: 0.15rem solid #FFB530;
        border-right: 0.15rem solid #FFB530;
    }

    100% {
        border: 0.15rem solid transparent;
        border-bottom: 0.15rem solid #FFB530;
        border-right: 0.15rem solid #FFB530;
    }
}

@keyframes recording-before {
    from {
        transform: rotate(-45deg);
    }

    to {
        transform: rotate(315deg);
    }
}

@-webkit-keyframes recording-before {
    from {
        -webkit-transform: rotate(-45deg);
    }

    to {
        -webkit-transform: rotate(315deg);
    }
}


.dialog-wrap-evaluation {
    width: 100%;
    height: 100%;
    position: relative;
}

.pop-card-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 35%;
    /* height: 50%; */
    transform: translate(-50%, -50%);
    background-color: #FFFFFF;
    border-radius: 1rem;
}

.score-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 2rem;
    position: relative;
}

.score-wrap .score {
    /* background-image: url('../public/assets/vocabulary/dc_tb_9_pt@2x.png'); */
    background-size: cover;
    color: #FFFFFF;
    width: 10rem;
    height: 10rem;
    position: relative;
}

.score-wrap .score span {
    color: #fff;
    font-weight: bold;
    font-size: 2rem;
    position: absolute;
    left: 51%;
    top: 58%;
    transform: translate(-50%, -50%);
}

.score-wrap .label {
    color: #854B22;
    font-size: 1.2rem;
    font-weight: bold;
}

.score-wrap .word {
    color: #333333;
    font-size: 1.8rem;
    font-family: 'text-en';
}

.score-wrap .star-wrap {
    margin: 0.4rem 0;
    display: flex;
    align-items: center;
}

.score-wrap .star-wrap .star {
    display: inline-block;
    margin: 0 0.4rem;
}

.score-wrap .star-wrap .star1 {
    width: 2rem;
    height: 2rem;
}

.score-wrap .star-wrap .star2 {
    width: 1.6rem;
    height: 1.6rem;
}

.dialog-wrap-evaluation .close-button {
    /* 设置按钮的宽度和高度 */
    width: 2.4rem;
    height: 2.4rem;
    background-color: transparent;
    /* 背景图片填充按钮 */
    background-image: url('../public/assets/vocabulary/ty_an_22_pt@2x.png');
    /* 确保图片覆盖按钮区域 */
    background-size: cover;
    /* 确保点击区域覆盖整个按钮 */
    padding: 0;
    /* 隐藏按钮自带的边框 */
    border: none;
    /* 设置鼠标悬停时的背景图片 */
    background-position: center;
    transition: background-position 0.5s;

    position: absolute;
    /* top: 80%; */
    left: 50%;
    bottom: -25%;
    transform: translate(-50%, -50%);

    cursor: pointer;
}

.dialog-wrap-finished {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.dialog-wrap-finished .content {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dialog-wrap-finished .content img {
    width: 50%;
}

.dialog-wrap-finished .content span {
    margin: 4% 0;
    color: #FFFFFF;
    font-size: 1.4rem;
    font-weight: bold;
}

.dialog-wrap-finished .content .control {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 60%;
    margin: 0 auto;
}

.dialog-wrap-finished .btn-back {
    color: #fff;
    /* background-color: #ED9900; */
    background: linear-gradient(to bottom, #FFC55E, #ED9900);
    width: 8.1rem;
}

.dialog-wrap-finished .btn-agin {
    color: #fff;
    /* background-color: #44A74A; */
    background: linear-gradient(to bottom, #85D389, #61BD66);
    width: 8.1rem;
}


.dialog-wrap-auth {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.dialog-wrap-auth .content {
    width: 30rem;
    height: 20rem;

    background-color: #fff;
    border-radius: 1rem;

    display: flex;
    flex-direction: column;
}

.dialog-wrap-auth .button-wrap {
    margin: 2% 2%;
    display: flex;
    justify-content: flex-end;
}

.dialog-wrap-auth .close-button {
    /* 设置按钮的宽度和高度 */
    width: 2.3rem;
    height: 2.3rem;
    background-color: transparent;
    /* 背景图片填充按钮 */
    background-image: url('../public/assets/expression/diandu_an_11_pt@2x.png');
    /* 确保图片覆盖按钮区域 */
    background-size: cover;
    /* 确保点击区域覆盖整个按钮 */
    padding: 0;
    /* 隐藏按钮自带的边框 */
    border: none;
    /* 设置鼠标悬停时的背景图片 */
    background-position: center;
    transition: background-position 0.5s;
    cursor: pointer;
}

.dialog-wrap-auth .icon-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
}

.dialog-wrap-auth .icon-wrap .icon {
    width: 100%;
    height: 10rem;
}

.dialog-wrap-auth .icon-wrap .icon-net {
    width: 10rem;
    height: 10rem;
}

.dialog-wrap-auth .label-wrap {
    margin-top: 1rem;
    text-align: center;
    font-size: 1.4rem;
}

